<template>
	<view>
		<div class="fxbj">
			<div class="xjsy">
				<div class="rwmbox" style="padding-top:120rpx;">
					<!-- <div class="rwmtitle">
						<h2>关注微信公众号</h2>
					</div> -->
					<div class="zsfx" style="padding-top:80rpx ;padding-bottom:80rpx;">
						<!-- <div class="zsfx_tit">
							<h2>专属的二维码分享</h2>
							<p>分享不断 收入不断</p>
						</div> -->
						<div class="zsfxnr" >
							<image mode="scaleToFill" class="uni-img-tag" :src="info.dicValue"></image>
						</div>
						<!-- <div class="zsfx_text">
							<p id="nr">邀请码:{{info.inviteCode}}</p>
							<ul class="code-btns">
								<li><a href="javascript:;" class="btn" @click="copy" id="copyBtn">复制邀请码 </a></li>
								<!-- <li><a href="javascript:">生成长图</a></li> -->
						<!-- </ul> -->
					</div> 
				</div>
			</div>
		</div>
		</div>
	</view>
</template>

<script>
	import user from "@/common/user.js"
	import http from "@/common/http.js"
	export default {
		data() {
			return {
				info: {},
			}
		},
		onLoad() {
			http.request({
				url: '/api/v1/getWerxin',
				success: ret => {
					this.info  = ret ;
					console.log(ret);
				},
				fail: ret => {
					uni.showToast({
						icon: "error",
						title: '获取微信信息失败'
					})
				}
			})
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #4b92f4;
	}

	.code-btns {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.zsfxnr {
		display: flex;
		align-items: center;
		justify-content: center;

		.uni-img-tag {
			margin: 0;
			width: 390rpx;
			height: 390rpx;
		}
	}
</style>
